FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base
WORKDIR /app
COPY . .
EXPOSE 8084
ENTRYPOINT ["dotnet", "Bridge.WmsService.Host.dll"]
ENV TZ=Asia/Shanghai
ENV UserName=root
ENV UserPwd=Bridge0!
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ENV ASPNETCORE_ENVIRONMENT Production